﻿namespace Zhp.Common.Appsetting
{
    /// <summary>
    /// 系统设置
    /// </summary>
    [AppSetting("SysData")]
    public class SysDataOptions
    {
        /// <summary>
        /// 设置雪花ID机器码
        /// </summary>
        public int WorkId { get; set; }
        /// <summary>
        /// 初始化数据库
        /// </summary>
        public bool InitDatabase { get; set; }
        /// <summary>
        /// 初始化基础数据
        /// </summary>
        public bool InitSeedData { get; set; }
        /// <summary>
        /// 是否允许多客户端登录
        /// </summary>
        public bool MultiClientLogin { get; set; }
        /// <summary>
        /// 是否启用记录审计日志
        /// </summary>
        public bool IsAuditLog { get; set; }
        /// <summary>
        /// 默认超级管理员
        /// </summary>
        public string DefaultRootUser { get; set; }
        /// <summary>
        /// 默认密码
        /// </summary>
        public string DefaultPassword { get; set; }
        /// <summary>
        /// 默认邮箱地址
        /// </summary>
        public string DefaultEmailAddress { get; set; }
    }
}
